package com.wood.life.mapper;

import com.night.common.entity.life.Answer;
import com.night.common.entity.life.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * author: dz
 * 2022-10-18-17:56
 */

public interface AnswerMapper {
    void insert(Answer answer);

    List<Answer> getByCondition(Answer answer);

    Answer getById(Integer id);

    List<Answer> getByQId(Integer qid);

    void updateById(Answer answer);

    void deleteById(Integer id);
}
